package com.funny.test.factorybean;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.FactoryBean;
import org.springframework.stereotype.Component;

/**
 * @author fanxiao  2021/11/18
 * @since 1.0.0
 */
@Component
@Slf4j
public class EooFactoryBean implements FactoryBean {


	public EooFactoryBean() {
		log.info("EooFactoryBean initialized");
	}

	@Override
	public Object getObject() throws Exception {
		return new Eoo();
	}

	@Override
	public Class<?> getObjectType() {
		return Eoo.class;
	}
}
